<template>
  <div class="content">
    <div class="check">
      <el-date-picker v-model="conditionFind.year" type="year" format="yyyy" value-format="yyyy" placeholder="选择年" />
    </div>
    <div class="echats_content">
      <div class="col1">
        <div class="row1">
          <Model1 ref="Model1" :condition-find="conditionFind" />
        </div>
        <div class="row2">
          <Model2 ref="Model2" :condition-find="conditionFind" />
        </div>
      </div>
      <div class="col2">
        <div class="row3">
          <Model3 ref="Model3" :condition-find="conditionFind" />
        </div>
        <div class="row3">
          <Model4 ref="Model4" :condition-find="conditionFind" />
        </div>
        <div class="row3">
          <Model5 ref="Model5" :condition-find="conditionFind" />
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import Model1 from './components/InspectionPlanManagementIndex/model1.vue'
import Model2 from './components/InspectionPlanManagementIndex/model2.vue'
import Model3 from './components/InspectionPlanManagementIndex/model3.vue'
import Model4 from './components/InspectionPlanManagementIndex/model4.vue'
import Model5 from './components/InspectionPlanManagementIndex/model5.vue'
export default {
  components: {
    Model1,
    Model2,
    Model3,
    Model4,
    Model5
  },
  data() {
    return {
      gt: true,
      pt: false,
      conditionFind: {
        year: null
      }
    }
  },
  mounted() {
    this.conditionFind.year = new Date().getFullYear().toString()
  },
  methods: {
  }
}

</script>
<style lang="scss" scoped>
.content {
  width: 100%;
  height: 100%;
  background: #f1f4fb;
  padding: 20px;
  padding-top: 0;
}
.check {
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
}
.echats_content {
  height: calc(100% - 40px);
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.col1 {
  height: 100%;
  width: 39.5%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.row1 {
  width: 100%;
  height: 54%;
  background: #ffffff;
  box-shadow: 0px 0px 10px 5px rgba(0, 46, 138, 0.03999999910593033);
  border-radius: 6px 6px 6px 6px;
}
.row2 {
  width: 100%;
  height: 44%;
  background: #ffffff;
  box-shadow: 0px 0px 10px 5px rgba(0, 46, 138, 0.03999999910593033);
  border-radius: 6px 6px 6px 6px;
}
.col2 {
  height: 100%;
  width: 59.5%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.row3 {
  width: 100%;
  height: 32%;
  background: #ffffff;
  box-shadow: 0px 0px 10px 5px rgba(0, 46, 138, 0.03999999910593033);
  border-radius: 6px 6px 6px 6px;
}
</style>
